#ifndef LOG_H_
#define LOG_H_

int log_init(const char *filename);
void log_close(int fd);

void log_dangerous_request(int log_fd, struct evhttp_request *request);

#define DANGEROUS_TAG		0x01
#define DANGEROUS_REPORT_TAG	0x02

struct dangerous_container {
	TAILQ_ENTRY(dangerous_container) (next);
	struct dangerousload *dl;
};

TAILQ_HEAD(dangerq, dangerous_container);

#endif /* LOG_H_ */
